package com.aliwo.algorithm.easy;

/**
 * 罗马数字转为阿拉伯数字.
 * I    1
 * V    5
 * x    10
 * L    50
 * C    100
 * D    500
 * M    1000
 * @author Xu Yayuan
 * @date 2022/3/9
 */
public class RomeChangeToArabian {

    public static void main(String[] args) {
        String romeString = "C";
        Integer Result = changeToArabian(romeString);
        System.out.println("罗马数字 :"+ romeString + " -> 转为 阿拉伯数字 :" + Result );
    }

    public static Integer changeToArabian(String str) {
        Integer num = 0;

        return num;
    }
}
